package com.rgs.module.login.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author Ren Gaoshuai
 * @ClassName SysUserDO
 * @Description 用户登录数据库实体
 * @date 2021-12-24 9:35
 **/
@Data
@ApiModel(description = "SysUser")
@Table(name = "sys_user")
public class SysUserDO {

    private static final long serialVersionUID = 899830835196206484L;
    /**
     * 账号主键
     */
    @Id
    @ApiModelProperty(value = "账号主键")
    private String id;
    /**
     * 登录账号
     */
    @ApiModelProperty(value = "登录账号")
    private String username;
    /**
     * 登录密码
     */
    @ApiModelProperty(value = "登录密码")
    private String password;

    /**
     * 真实姓名（选填）
     */
    @ApiModelProperty(value = "真实姓名（选填）")
    private String realName;
    /**
     * 手机号码（选填）
     */
    @ApiModelProperty(value = "手机号码（选填）")
    private String mobilePhone;

    /**
     * 介绍
     */
    @ApiModelProperty(value = "介绍")
    private String description;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 最后修改时间
     */
    @ApiModelProperty(value = "最后修改时间")
    private LocalDateTime lastModifyTime;

    /**
     * 密码等级 高中低
     */
    @ApiModelProperty(value = "密码等级 高中低")
    private String passwordLevel;


}
